Learn R Programming

diffobj (version 0.1.2)

[<-,PaletteOfStyles-method: Extract/Replace a Style Class or Object from PaletteOfStyles

Description

Extract/Replace a Style Class or Object from PaletteOfStyles

Usage

"["(x, i, j, ...) <- value
"["(x, i, j, ..., drop = FALSE)
"[["(x, i, j, ..., exact = TRUE)

Arguments

x
i
numeric, or character corresponding to a valid style format
j
numeric, or character corresponding to a valid style brightness
...
pass a numeric or character corresponding to a valid color.mode
value
a list of Style class or Style objects
drop
TRUE or FALSE, whether to drop dimensions, defaults to FALSE, which is different than generic
exact
passed on to generic

Value

a Style ClassRepresentation object or Style object for [[, and a list of the same for [

See Also

diffPrint for explanations of format, brightness, and color.mode